Skip to content

CI: mypy strict for the core; safe home directory; mutation score - #418

Closed
NeoZorK wants to merge 2 commits into
mainfrom
protocolith/mypy-and-lazy-home
Closed

NeoZorK wants to merge 2 commits into
mainfrom
protocolith/mypy-and-lazy-home

Conversation

@NeoZorK

@NeoZorK NeoZorK commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Adds mypy --strict over protocolith.core to CI (and the dev extra) and fixes the two errors it found in core/schema.py. The command line no longer fails when the home directory cannot be determined (falls back to the temporary directory). Refreshes scripts/mutation_core.sh (fresh run by default, examples copied) and records the mutation score: 826 of 911 mutants killed (90.7 percent).

…he mutation script and score

Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
@NeoZorK

NeoZorK commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by #419: the Update branch merge commit had no sign-off, so the DCO check failed; the same change is rebased onto main there.

@NeoZorK NeoZorK closed this Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant